.meal {
    $item-height: 200rem;
    width: 100%;
    height: $item-height;
    display: flex;
    justify-content: space-between;
    padding: 10rem;
    border-radius: 8rem;

    &:not(:first-of-type) {
        margin-top: 10rem;
    }

    .meal-img {
        $size: calc(#{$item-height} - 20rem);
        width: $size;
        height: $size;
        border-radius: 6rem;
        background-color: rgba(10, 10, 10, .3);
        color: white;
        line-height: $size;
        text-align: center;
    }

    .meal-right {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        width: calc(100% - #{$item-height} - 20rem);

        .meal-right-title {
            font-weight: 600;
        }

        .meal-right-description {
            width: 100%;
            // height: fit-content;
            color: gray;
            font-size: 24rem;

            display: -ms-flexbox; /* 适用于IE10 */
            display: flex; /* 适用于其他支持Flex布局的浏览器 */
            display: -webkit-box; /* 适用于大部分现代浏览器 */
            -webkit-line-clamp: 2; /* 设置显示的最大行数，此处为2行 */
            -webkit-box-orient: vertical; /* 设置或限制flex项目在主轴上的排列方式，此处为垂直方向 */
            overflow: hidden; /* 隐藏超出部分的内容 */
            text-overflow: ellipsis; /* 在需要时显示省略符号来代表被修剪的文本 */
        }

        .meal-right-bottom {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 8rem;

            .mrb-price {
                display: flex;
                align-items: flex-end;
                font-weight: 600;
                &::before {
                    content: attr(data-sign);
                    font-size: 24rem;
                }
            }

            .mrb-num {
                $size: 30rem;
                display: flex;
                align-items: center;
                font-size: 24rem;

                .mrb-sub,
                .mrb-add {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: $size;
                    height: $size;
                    border-radius: $size;
                    font-size: 30rem;
                    color: gray;
                    border: 1px solid gray;
                }

                .mrb-sub {
                    margin-right: 20rem;
                }

                .mrb-add {
                    margin-left: 20rem;
                    background-color: rgb(243, 189, 19);
                    color: black;
                }
            }
        }
    }
}